package com.guofen.service.sjq;

import com.guofen.pojo.SjqWaterProductionEquipmentRunning;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SjqWaterProductionEquipmentRunningService {
    boolean addForm(double pump_pressure_1, double pump_pressure_2, double pump_pressure_3,
                    double fan_frequency_1, double fan_frequency_2,
                    String operator);

    Boolean addRemarks(Integer Id, String pump_pressure_1_remark, String pump_pressure_2_remark,  String pump_pressure_3_remark,
                        String fan_frequency_1_remark, String fan_frequency_2_remark, String examiner);

    SjqWaterProductionEquipmentRunning findForm();

    public Map<String, Object> get(int pageSize, int currentPage);

    public Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    public int delete(int id);

    public int update(SjqWaterProductionEquipmentRunning record);
}